home *** CD-ROM | disk | FTP | other *** search
- Path: news.pi.net!news
- From: cat.tech@pi.net (Remy Cool)
- Newsgroups: comp.lang.c++
- Subject: How to retrieve the Handle from a Dialog
- Date: Wed, 06 Mar 1996 12:14:20 GMT
- Organization: Cool Applied Technology
- Message-ID: <4hjvn8$f2l@neptunus.pi.net>
- Reply-To: cool@pi.net
- NNTP-Posting-Host: hen36.pi.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- Hi,
-
- I have the following problem:
-
- I made a About Dialog (rc) and want a Bmp to be shown inside the dialog when the dialog pops up.
- Showing the bitmap whith a mouse click works fine, but I can't get it drawn automatically.
-
- When I place the 'Draw Bitmap Code' inside the TMyDialog::SetupWindow() function, the BMP is drawn
- on the MainWindow when I popup the Dialog.
- Is there a way to retrieve the Handle (HWND) from the Dialog ?
- So I can use it in my ' Draw Bmp Code' ?
-
- I hope that someone has the answer.
-
- Thanks in advance.
-
- Regards,
-
- Remy
-
-
-